package com.qf.service.impl;

import com.qf.Vo.StuVo;
import com.qf.mapper.StuClassMapper;
import com.qf.service.StuClassService;
import com.qf.service.StuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 以梦为马，以汗为泉，不忘初心，不负韶华
 *
 * @author
 * @version 1.0
 * @data 2025/2/17 20:17
 */
@Service
public class StuClassServiceImpl implements StuClassService {
    @Resource
    private StuClassMapper stuClassMapper;
    @Override
    public List<StuVo> findAllStuAndClassroom(Integer id) {
        return stuClassMapper.findAllStuAndClassroom(id);
    }

    @Override
    public StuVo findStuAndAllSubject(Integer sid) {
        return stuClassMapper.findStuAndAllSubject(sid);
    }
}
